<?php
mysql_connect("127.0.0.1","root","sd2013");
mysql_select_db("mathRomp");

$q = mysql_query("SELECT currentProb FROM `Game` WHERE gameId = 22");

while($g=mysql_fetch_assoc($q)){
  $output[]=$g;
}
print(json_encode($output));

?>